form {
  width: 400px;
  padding: 20px;
  border: 3px solid pink;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  padding-top: 50px;
  position: relative;
}

form > .error {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 150px;
  text-align: center;
  margin-left: -75px;
  color: red;
  display: none;
}


form > label {
  height: 50px;
  display: flex;
  align-items: center;
}

form > label > input {
  padding-left: 20px;
}
